x86/emulator: cleanup
authorJan Beulich <jbeulich@suse.com>
Thu, 1 Dec 2011 07:51:35 +0000 (08:51 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Dec 2011 07:51:35 +0000 (08:51 +0100)
commiteec25c2300cd3da0fef95159e7ed7932fc31dca9
tree0990aafb71ab9bc426c447248edeeaf875a36e71
parent52eac72c38d0e3b515bea50104cfaa0e48fc4c6d
x86/emulator: cleanup

Utilize some of the additions in the prior patches to clean up other
code:
- keep track of REP prefixes in only one variable
- use REX_W in a few more places (instead of a literal number)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/x86_emulate/x86_emulate.c